package com.example.simin_manage.service;

import com.example.simin_manage.entity.PerformancePeriod;
import com.example.simin_manage.mapper.PerformancePeriodMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @author: panpan
 * @time: 2025/9/21
 */
@Service
public class PeriodService {

    @Resource
    private PerformancePeriodMapper performancePeriodMapper;

    /**
     * 根据周期ID获取周期对象
     */
    public PerformancePeriod getById(Long periodId) {
        return performancePeriodMapper.selectById(periodId);
    }
}
